package com.mxchen.lottery.infr.gatewayimpl.activity.model;

import com.mxchen.lottery.infr.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 策略明细
 * @author hmxchen
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class StrategyDetail extends BaseEntity {

    /**
     * 策略ID
     */
    private Long strategyId;

    /**
     * 奖品ID
     */
    private String awardId;

    /**
     * 奖品库存
     */
    private Integer awardCount;

    /**
     * 奖品剩余库存
     */
    private Integer awardSurplusCount;

    /**
     * 中奖概率
     */
    private BigDecimal awardRate;

}